Type System for Specializing Polymorphism
نویسنده
چکیده
Flexibility of programming and efficiency of program execution are two important features of a programming language. Unfortunately, however, there is an inherent conflict between these features in design and implementation of a modern statically typed programming language. Flexibility is achieved by high-degree of polymorphism, which is based on generic primitives in an abstract model of computation, while efficiency requires optimal use of low-level primitives specialized to individual data structures. The motivation of this work is to reconcile these two features by developing a mechanism for specializing polymorphic primitives based on static type information. We first present a method for coherent transformation of an ML style polymorphic language into an explicitly typed calculus. We then analyze the existing methods for compiling record calculus and unboxed calculus, extract their common structure, and develop a framework for type based specialization of polymorphism.
منابع مشابه
Type-Directed Specialization of Polymorphism
Flexibility of programming and efficiency of program execution are two important features of a programming language. Unfortunately, however, these two features conflict each other in design and implementation of a modern statically typed programming language. Flexibility is achieved by high-degree of polymorphism, which is based on generic primitives in an abstract model of computation, while e...
متن کاملSignificant Associations of the rs3104413 Single-nucleotide Polymorphism in the HLA Region with Type 1 Diabetes
Background and Aims: In this study, the effect of rs310441 polymorphism in the human leukocyte antigen (HLA) region on the development of susceptibility or resistance to Type 1 diabetes (T1D) among the people with T1D compared to healthy subjects has been investigated. Materials and Methods: This research, which is based on the examination of 130 cases with T1D and 98 controls, has been carrie...
متن کاملA genetic polymorphism maintained by natural selection in a temporally varying environment.
Environments that are crowded with larvae of the fruit fly, Drosophila melanogaster, exhibit a temporal deterioration in quality as waste products accumulate and food is depleted. We show that natural selection in these environments can maintain a genetic polymorphism with one group of genotypes specializing on the early part of the environment and a second group specializing on the late part. ...
متن کاملAssociation of IFN-¹ Gene Polymorphism with Type 1 Diabetes in Iranian Patients
Background: Type 1 Diabetes (T1D) is a chronic and progressive autoimmune disorder. Cytokines play a critical role in the pathogenesis of T1D. Objective: IFN-¹ polymorphism was investigated in T1D and compared with normal controls. Methods: Thirty patients suffering from T1D and 40 normal controls were studied simultaneously using PCR technique. IFN- ¹ gene was evaluated at position 5’UTR...
متن کاملThe Soluble Carrier 30 A8 (SLC30A8) Gene Polymorphism and Risk of Diabetes Mellitus Type 2 in Eastern Azerbijan Population of Iran
Type 2 Diabetes Mellitus (T2D) is the most common metabolic disease demonstrating itself by hyper- glycemia, due to impaired insulin secretion or action. Recently, Whole-Genome Association studies have revealed the role of several new genes responsible for T2D. One of the most studied genes is SLC30A8 (Zn-T8) which is exclusively expressed in pancreatic ?-cells and participates in insulin stora...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1997